package com.zjt.entity.factory;

import com.zjt.entity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: xueyanbeijing
 * Date: 12-8-24
 * Time: PM1:22
 * To change this template use File | Settings | File Templates.
 */
@Entity
//表名与类名不相同时重新定义表名.
@Table(name="s_factory_info")
public class FactoryInfo extends BaseEntity{
    private String chName;
    private String enName;
    private String contact;
    private String tel;
    private String httpweb;
    private String email;
    private String address;
    private String shopDescription;
    private String description;
    private String extension; //扩展属性

    public String getChName() {
        return chName;
    }

    public void setChName(String chName) {
        this.chName = chName;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getHttpweb() {
        return httpweb;
    }

    public void setHttpweb(String httpweb) {
        this.httpweb = httpweb;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getShopDescription() {
        return shopDescription;
    }

    public void setShopDescription(String shopDescription) {
        this.shopDescription = shopDescription;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    @Override
    public String toString() {
        return "FactoryInfo{" +
                "chName='" + chName + '\'' +
                ", enName='" + enName + '\'' +
                ", contact='" + contact + '\'' +
                ", tel='" + tel + '\'' +
                ", httpweb='" + httpweb + '\'' +
                ", email='" + email + '\'' +
                ", address='" + address + '\'' +
                ", shopDescription='" + shopDescription + '\'' +
                ", description='" + description + '\'' +
                ", extension='" + extension + '\'' +
                '}';
    }
}
